package com.jnzc.ocr.serv.shop.service;

import com.jnzc.ocr.serv.shop.entity.ShopProductStock;
import com.jnzc.ocr.serv.shop.filter.ShopProductStockFilter;
import com.jnzc.ocr.dependencies.serv.mybatis.MybatisService;
import com.jnzc.ocr.serv.shop.vo.ShopProductStockChangeVo;

import java.util.List;

/**
 * @author zhangcm
 * @version 1.0, 2017-10-06
 */
public interface ShopProductStockService extends MybatisService<ShopProductStock, ShopProductStockFilter> {

    ShopProductStock find(Long productId, Long skuId, Long shopId);

    void updateNum(List<ShopProductStockChangeVo> list, Long shopId);
}
